package Client;

public class DVD {

	private UPC upc;
	private String composer;
	private String name;
	private String director;
	private String copy;
	private String leaderActor;
	private String supportingActor;
	private int year;
	private boolean rented;

	public DVD() {
		this.rented = false;
	}

	public void setUpc(UPC upc) {
		this.upc = upc;
	}

	public UPC getUpc() {
		return upc;
	}

	public void setComposer(String composer) {
		this.composer = composer;
	}

	public String getComposer() {
		return composer;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getDirector() {
		return director;
	}

	public void setCopy(String copy) {
		this.copy = copy;
	}

	public String getCopy() {
		return copy;
	}

	public void setLeaderActor(String leaderActor) {
		this.leaderActor = leaderActor;
	}

	public String getLeaderActor() {
		return leaderActor;
	}

	public void setSupportingActor(String supportingActor) {
		this.supportingActor = supportingActor;
	}

	public String getSupportingActor() {
		return supportingActor;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public int getYear() {
		return year;
	}

	public boolean setRented(boolean value) {
		if (this.rented == value) {
			return false;
		} else {
			this.rented = value;
			return true;
		}
	}

}
